I have started to convert our existing intranet from html / css to X-pages.
The intranet consists of a number of Notes databases, so I have a lot of existing notes documents that I need to transform.
First problem I encounter is how to style the existing body fields.
All text on the body fields is in Default Sans Serif which is defined as the inbound message default font on the server configuration document.
I have been able to change this to whichever font I wanted via css on the old notes documents.
But on X-pages documents the css does not apply to the plain text in the body fields.
The bold text gets the right font, and so do all the plain text fields.
If I change the font in the body field of one of the existing docs from Default Sans Serif to Arial, that makes the X-page doc look like it should.
But we have a vast number of existing docs, so that will be a huge job - and I thought X-pages were supposed to make life easier!
So far I am only working with very simple css - see below.
I hope someone has a simple solution for this.
Body{ font-family : Arial;
font-size : 16px;
color : 000000;
font-style : plain;
font-weight : plain;
text-decoration : none;
text-align : left;
}
B{ font-family : Arial;
font-size : 16px;
font-weight : bold;
color : 000000;
text-decoration : none;
text-align : left;
}